package com.qianyue.享元模式;

/**
 * 形状
 *
 * @author qian yue
 * @version v1.0.0
 * @since 2025/2/4 15:39
 */
public abstract class AbstractBox {
    public abstract String getShape();

    public void display(String color) {
        System.out.println(getShape() + ": " + color);
    }
}
